--[[****************************************************************************
  * _Cursor by Saiket                                                          *
  * Localization.lua - Localized string constants (en-US).                     *
  ****************************************************************************]]


do
	local Metatable = {
		__index = function ( self, Key )
			rawset( self, Key, Key );
			return Key;
		end;
	};
	local LDQuo, RDQuo = "\226\128\156", "\226\128\157";
	local Title = "_|cffcccc88Cursor"..FONT_COLOR_CODE_CLOSE;


	_CursorLocalization = setmetatable( {
		SETS = setmetatable( {}, Metatable ); -- All DefaultSets names
		CURSORS = setmetatable( {}, Metatable ); -- All names of cursor layers
		TYPES = setmetatable( { -- All type names
			[ "" ] = "Custom"; -- Custom type; not an actual type
		}, Metatable );
		VALUES = setmetatable( {}, Metatable ); -- All names of presets

		-- Options
		OPTIONS_TITLE = Title;
		OPTIONS_DESC = "These options let you change the cursor models that follow your mouse.  You can choose from presets or specify your own.";
		OPTIONS = setmetatable( {
			SETS = "Sets";
			SET_DESC = "The name of the cursor set to save or load.  Use the dropdown button to select saved sets.";
			SAVE = "Save"; -- Save set
			LOAD = "Load"; -- Load set
			DELETE = "Delete"; -- Delete set
			DELETE_DESC = "Removes this set for all characters.";
			CURSORS = "Cursor";
			APPLY = "Apply"; -- Apply current options to cursor
			ENABLED = "Model Enabled";
			ENABLED_DESC = "Toggles whether this cursor layer is shown.";
			PREVIEW_DESC = "A preview of the chosen cursor layer.\n"..HIGHLIGHT_FONT_COLOR_CODE.."Click to cycle animation speeds.";
			X_DESC = "X-offset: Moves the model left and right.";
			Y_DESC = "Y-offset: Moves the model up and down.";
			SCALE = "Scale";
			SCALE_DESC = "Draws the model larger or smaller.";
			FACING = "Facing";
			FACING_DESC = "Rotates the model.";
			FACING_LOW = "0";
			FACING_HIGH = "2\207\128"; -- 2pi
			TYPE = "Preset Type";
			TYPE_DESC = "Groups of preset cursor layers to chose from, or pick "..LDQuo.."Custom"..RDQuo.." to give a custom model path.";
			VALUE = "Preset Name";
			VALUE_DESC = "Possible presets to choose from in the selected type category.";
			PATH = "File Path";
			PATH_DESC = "The location of the model file to use, excluding any file extension.";
		}, Metatable );

		RESET_CONFIRM = Title..": Reset sets for all characters and this character's cursor, or only the cursor?";
		RESET_ALL = "Sets & Cursor";
		RESET_CHARACTER = "Only Cursor";
		RESET_CANCEL = CANCEL;
	}, Metatable );

if GetLocale() == "zhCN" then
	_CursorLocalization = setmetatable( {
		SETS = setmetatable( {}, Metatable ); -- All DefaultSets names
		CURSORS = setmetatable( {}, Metatable ); -- All names of cursor layers
		TYPES = setmetatable( { -- All type names
			[ "" ] = "自定义"; -- Custom type; not an actual type
		}, Metatable );
		VALUES = setmetatable( {}, Metatable ); -- All names of presets

		-- Options
		OPTIONS_TITLE = Title;
		OPTIONS_DESC = "这些选项是用于更改跟随在鼠标指针后的视觉模型特效的。您可以从预设中选择或自定义效果。";
		OPTIONS = setmetatable( {
			SETS = "分组";
			SET_DESC = "要保存或读取的指针分组名称。点击下拉菜单按钮来选择已保存的分组。";
			SAVE = "保存"; -- Save set
			LOAD = "加载"; -- Load set
			DELETE = "删除"; -- Delete set
			DELETE_DESC = "从所有角色的设置中删除该组。";
			CURSORS = "指针";
			APPLY = "应用"; -- Apply current options to cursor
			ENABLED = "特效模型启用";
			ENABLED_DESC = "是否显示该指针特效层。";
			PREVIEW_DESC = "选定的指针特效层预览。\n"..HIGHLIGHT_FONT_COLOR_CODE.."点击在不同的动画速度间循环。";
			X_DESC = "横向偏移：向左或向右移动模型。";
			Y_DESC = "纵向偏移：向上或向下移动模型。";
			SCALE = "缩放";
			SCALE_DESC = "使模型更大或更小。";
			FACING = "朝向";
			FACING_DESC = "旋转模型。";
			FACING_LOW = "0";
			FACING_HIGH = "2\207\128"; -- 2pi
			TYPE = "预设类型";
			TYPE_DESC = "选择预设的鼠标特效或者勾选"..LDQuo.."自定义"..RDQuo.."输入自选模型路径。";
			VALUE = "预设名称";
			VALUE_DESC = "选定的类型分组中可用的预设类型。";
			PATH = "文件路径";
			PATH_DESC = "要使用的模型文件的路径，不包括任何文件后缀名。";
		}, Metatable );

		RESET_CONFIRM = Title..":重置所有角色的分组和该角色的指针，还是只重置该指针?";
		RESET_ALL = "分组和指针";
		RESET_CHARACTER = "仅指针";
		RESET_CANCEL = CANCEL;
	}, Metatable );

elseif GetLocale() == "zhTW" then
	_CursorLocalization = setmetatable( {
		SETS = setmetatable( {}, Metatable ); -- All DefaultSets names
		CURSORS = setmetatable( {}, Metatable ); -- All names of cursor layers
		TYPES = setmetatable( { -- All type names
			[ "" ] = "自訂"; -- Custom type; not an actual type
		}, Metatable );
		VALUES = setmetatable( {}, Metatable ); -- All names of presets

		-- Options
		OPTIONS_TITLE = Title;
		OPTIONS_DESC = "這些選項是用於更改跟隨在滑鼠指標後的視覺模型特效的。您可以從預設中選擇或自訂效果。";
		OPTIONS = setmetatable( {
			SETS = "分組";
			SET_DESC = "要保存或讀取的指針分組名稱。點擊下拉功能表按鈕來選擇已保存的分組。";
			SAVE = "保存"; -- Save set
			LOAD = "載入"; -- Load set
			DELETE = "刪除"; -- Delete set
			DELETE_DESC = "從所有角色的設置中刪除該組";
			CURSORS = "指針";
			APPLY = "應用"; -- Apply current options to cursor
			ENABLED = "特效模型啟用";
			ENABLED_DESC = "是否顯示該指標特效層";
			PREVIEW_DESC = "選定的指針特效層預覽。\n"..HIGHLIGHT_FONT_COLOR_CODE.."點擊在不同的動畫速度間切換。";
			X_DESC = "橫向偏移：向左或向右移動模型。";
			Y_DESC = "縱向：向上或向下移動模型";
			SCALE = "縮放";
			SCALE_DESC = "使模型更大或更小。";
			FACING = "朝向";
			FACING_DESC = "旋轉模型";
			FACING_LOW = "0";
			FACING_HIGH = "2\207\128"; -- 2pi
			TYPE = "預設類型";
			TYPE_DESC = "選擇預設的滑鼠特效或者勾選"..LDQuo.."自訂"..RDQuo.."輸入自選模型路徑。";
			VALUE = "預設名稱";
			VALUE_DESC = "選定的類型分組中可用的預設類型。";
			PATH = "檔路徑";
			PATH_DESC = "要使用的模型檔的路徑，不包括任何檔尾碼名。";
		}, Metatable );

		RESET_CONFIRM = Title.."重置所有角色的分組和該角色的指針，還是只重置該指針？";
		RESET_ALL = "分組和指針";
		RESET_CHARACTER = "僅指針";
		RESET_CANCEL = CANCEL;
	}, Metatable );

end


--------------------------------------------------------------------------------
-- Globals
----------

	SLASH__CURSOR_OPTIONS1 = "/cursor";
	SLASH__CURSOR_OPTIONS2 = "/指针";
end
